package com.cml.dm.admin.service;

import java.io.InputStream;
import java.io.OutputStream;
import java.util.List;

public interface FileCompressFactory {

    String compress(InputStream is,String name, String zipFilePath);

    String compress(byte[] bytes, String name, String zipFilePath);

    List<String> uncompress(String filePath);

    default <T extends OutputStream> T uncompress(InputStream is,String name, String savePath){
        return null;
    }
}
